<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1><span th:text="${title}"></span></h1>
    <h1>登陆</h1>
    <!--  登陆注册 -->
    <form th:action="@{/login}" method="post">
        <div><label>账号: <input type="text" name="username" value="admin"/></label></div>
        <div><label>密码: <input type="password" name="password" value="admin"/></label></div>
        <div><input type="submit" value="登录"/></div>
    </form>
</body>
</html>